/*****************************************************************************
 *
 *                      HUSONG PROPRIETARY INFORMATION
 *
 *          The information contained herein is proprietary to HUSONG
 *           and shall not be reproduced or disclosed in whole or in part
 *                    or used for any design or manufacture
 *              without direct written authorization from HUSONG.
 *
 *            Copyright (c) 2015 by HUSONG.  All rights reserved.
 *
 *****************************************************************************/
package me.send.business.service.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import me.send.business.service.mapper.OrderProgressMapper;
import me.send.business.service.pojo.OrderProgress;

/**
 * @author maxmin
 *
 * @date 2015年10月15日 下午4:52:29
 */
@Service
public class OrderProgressService {
	
	
	@Autowired
	OrderProgressMapper orderProgressMapper;
	/* (non-Javadoc)
	 * @see me.send.broker.service.OrderProgressService#addOrderProgress(me.send.broker.entity.OrderProgress)
	 */
	public int addOrderProgress(OrderProgress orderProgress) {
		return orderProgressMapper.addOrderProgress(orderProgress);
	}

	/* (non-Javadoc)
	 * @see me.send.broker.service.OrderProgressService#getOrderProgressesByOrderId(int)
	 */
	public List<OrderProgress> getOrderProgressesByOrderId(int orderid) {
		return orderProgressMapper.getOrderProgressesByOrderId(orderid);
	}
}
